//
//  ZExcute.m
//  NSURLSession封装
//
//  Created by 周成龙 on 16/11/1.
//  Copyright © 2016年 ZCL. All rights reserved.
//

#import "ZExcute.h"

#import "ZSessionHeader.h"
#import "NetwokeManager.h"

//typedef void(^completeBlock)(NSData *data, NSError *error);
@interface ZExcute ()

//@property (nonatomic, copy)completeBlock completeBlock;


@end

@implementation ZExcute

- (instancetype)init {
    if (self = [super init]) {
        
    }
    return self;
}

- (void)excutePostWithPath:(NSString *)path parameters:(NSDictionary *)parameters onSuccess:(void(^)(NSData *data, NSError *error))completeBlock {
    
    NetwokeManager *manager = [[NetwokeManager alloc] init];
    [manager POSTMethodURL:path parameters:parameters uploadPreogerss:nil complete:completeBlock];
}



@end
